# -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models


class Migration(SchemaMigration):

    def forwards(self, orm):
        # Adding model 'StudioCloud'
        db.create_table(u'app_info_studiocloud', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('cloud_id', self.gf('django.db.models.fields.CharField')(max_length=20, null=True, blank=True)),
            ('cloud_purpose', self.gf('django.db.models.fields.CharField')(max_length=2000, null=True, blank=True)),
            ('parent_brand', self.gf('django.db.models.fields.CharField')(max_length=50, null=True, blank=True)),
        ))
        db.send_create_signal(u'app_info', ['StudioCloud'])

        # Adding model 'Studio'
        db.create_table(u'app_info_studio', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('custom_id', self.gf('django.db.models.fields.CharField')(default='', max_length=100, null=True, blank=True)),
            ('pub_name', self.gf('django.db.models.fields.CharField')(max_length=50, null=True, blank=True)),
            ('prd_name', self.gf('django.db.models.fields.CharField')(max_length=50, null=True, blank=True)),
            ('ios_code_format', self.gf('django.db.models.fields.CharField')(default='', max_length=100, null=True, blank=True)),
            ('gp_code_format', self.gf('django.db.models.fields.CharField')(default='', max_length=100, null=True, blank=True)),
            ('amz_code_format', self.gf('django.db.models.fields.CharField')(default='', max_length=100, null=True, blank=True)),
            ('bundle_id', self.gf('django.db.models.fields.TextField')(default='', null=True, blank=True)),
            ('code', self.gf('django.db.models.fields.CharField')(default='', max_length=10, null=True, blank=True)),
            ('service_site', self.gf('django.db.models.fields.URLField')(default='', max_length=200, null=True, blank=True)),
            ('website', self.gf('django.db.models.fields.URLField')(default='', max_length=200, null=True, blank=True)),
            ('app_store_id', self.gf('django.db.models.fields.CharField')(default='', max_length=20, null=True, blank=True)),
            ('cloud', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['app_info.StudioCloud'], null=True, on_delete=models.SET_NULL, blank=True)),
            ('available_store', self.gf('django.db.models.fields.CharField')(default='', max_length=200, null=True, blank=True)),
            ('copy_right', self.gf('django.db.models.fields.CharField')(max_length=50, null=True, blank=True)),
            ('main_domain', self.gf('django.db.models.fields.CharField')(max_length=100, null=True, blank=True)),
            ('alt_domain', self.gf('django.db.models.fields.CharField')(max_length=100, null=True, blank=True)),
            ('studio_code', self.gf('django.db.models.fields.CharField')(max_length=5, null=True, blank=True)),
        ))
        db.send_create_signal(u'app_info', ['Studio'])

        # Adding model 'App'
        db.create_table(u'app_info_app', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('prd_id', self.gf('django.db.models.fields.CharField')(unique=True, max_length=10)),
            ('prj_code', self.gf('django.db.models.fields.CharField')(unique=True, max_length=50)),
            ('old_prj_code', self.gf('django.db.models.fields.CharField')(default='', max_length=50, null=True, blank=True)),
            ('app_name', self.gf('core.fields.CustomCharField')(u'App Name (Production)', widget='TextInput', max_length=1000)),
            ('pub_name', self.gf('core.fields.CustomCharField')(u'App Name (Publish)', default='', max_length=1000, widget='TextInput', null=True, blank=True)),
            ('bundle_id_suffix', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('bundle_id_prefix', self.gf('django.db.models.fields.CharField')(max_length=100)),
            ('app_id', self.gf('core.fields.CustomCharField')(u'Apple ID', default='', max_length=20, widget='NoneType', null=True, blank=True)),
            ('store_link', self.gf('django.db.models.fields.CharField')(default='', max_length=200, null=True, blank=True)),
            ('platform', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('app_store', self.gf('django.db.models.fields.CharField')(max_length=50)),
            ('studio', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['app_info.Studio'])),
            ('editor', self.gf('django.db.models.fields.EmailField')(max_length=75, null=True, blank=True)),
            ('create_time', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)),
            ('status', self.gf('core.fields.CustomCharField')(u'Validation', default='P', widget='Select', max_length=1)),
            ('notes', self.gf('core.fields.CustomTextField')(u'Notes', default='', widget='MediaDefiningClass', null=True, blank=True)),
            ('flurry_key', self.gf('django.db.models.fields.CharField')(default='', max_length=50, null=True, blank=True)),
            ('valid_time', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
            ('valid_person', self.gf('django.db.models.fields.CharField')(default='', max_length=50, null=True, blank=True)),
            ('pub_key', self.gf('core.fields.CustomTextField')('Public Key', default='', widget='CustomTextarea', null=True, blank=True)),
            ('ga_key', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
        ))
        db.send_create_signal(u'app_info', ['App'])

        # Adding model 'AppExtraInfo'
        db.create_table(u'app_info_appextrainfo', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('app', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['app_info.App'], unique=True, null=True, blank=True)),
            ('flurry_key', self.gf('django.db.models.fields.CharField')(default='', max_length=100, null=True, blank=True)),
            ('media_local', self.gf('django.db.models.fields.CharField')(default='', max_length=1000, null=True, blank=True)),
            ('media_remote', self.gf('django.db.models.fields.CharField')(default='', max_length=1000, null=True, blank=True)),
            ('display_name', self.gf('django.db.models.fields.CharField')(default='', max_length=200, null=True, blank=True)),
            ('special', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
        ))
        db.send_create_signal(u'app_info', ['AppExtraInfo'])

        # Adding model 'UserGroup'
        db.create_table(u'app_info_usergroup', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=50, null=True, blank=True)),
            ('owner', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='pm', null=True, on_delete=models.SET_NULL, to=orm['auth.User'])),
        ))
        db.send_create_signal(u'app_info', ['UserGroup'])

        # Adding M2M table for field studios on 'UserGroup'
        m2m_table_name = db.shorten_name(u'app_info_usergroup_studios')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('usergroup', models.ForeignKey(orm[u'app_info.usergroup'], null=False)),
            ('studio', models.ForeignKey(orm[u'app_info.studio'], null=False))
        ))
        db.create_unique(m2m_table_name, ['usergroup_id', 'studio_id'])

        # Adding M2M table for field clouds on 'UserGroup'
        m2m_table_name = db.shorten_name(u'app_info_usergroup_clouds')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('usergroup', models.ForeignKey(orm[u'app_info.usergroup'], null=False)),
            ('studiocloud', models.ForeignKey(orm[u'app_info.studiocloud'], null=False))
        ))
        db.create_unique(m2m_table_name, ['usergroup_id', 'studiocloud_id'])

        # Adding model 'ProductionTeam'
        db.create_table(u'app_info_productionteam', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=50, null=True, blank=True)),
            ('group', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['app_info.UserGroup'], null=True, on_delete=models.SET_NULL, blank=True)),
        ))
        db.send_create_signal(u'app_info', ['ProductionTeam'])

        # Adding M2M table for field user on 'ProductionTeam'
        m2m_table_name = db.shorten_name(u'app_info_productionteam_user')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('productionteam', models.ForeignKey(orm[u'app_info.productionteam'], null=False)),
            ('user', models.ForeignKey(orm[u'auth.user'], null=False))
        ))
        db.create_unique(m2m_table_name, ['productionteam_id', 'user_id'])

        # Adding M2M table for field studios on 'ProductionTeam'
        m2m_table_name = db.shorten_name(u'app_info_productionteam_studios')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('productionteam', models.ForeignKey(orm[u'app_info.productionteam'], null=False)),
            ('studio', models.ForeignKey(orm[u'app_info.studio'], null=False))
        ))
        db.create_unique(m2m_table_name, ['productionteam_id', 'studio_id'])

        # Adding model 'AppVersion'
        db.create_table(u'app_info_appversion', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('log_id', self.gf('django.db.models.fields.CharField')(max_length=20)),
            ('app', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['app_info.App'])),
            ('code', self.gf('django.db.models.fields.CharField')(default='1.0', max_length=11)),
            ('type', self.gf('core.fields.CustomCharField')(u'Production Type', default='U', widget='Select', max_length=1)),
            ('create_time', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)),
            ('purpose', self.gf('django.db.models.fields.CharField')(default='', max_length=100, null=True, blank=True)),
            ('editor', self.gf('django.db.models.fields.CharField')(default='', max_length=200, null=True, blank=True)),
            ('owner', self.gf('django.db.models.fields.CharField')(max_length=200)),
            ('product_owner', self.gf('django.db.models.fields.CharField')(max_length=200)),
            ('status', self.gf('django.db.models.fields.CharField')(default='I', max_length=1)),
            ('change_list', self.gf('django.db.models.fields.TextField')(default='', null=True, blank=True)),
            ('iap_required', self.gf('django.db.models.fields.CharField')(default='', max_length=1, null=True, blank=True)),
            ('ads_required', self.gf('django.db.models.fields.CharField')(default='', max_length=1, null=True, blank=True)),
            ('cross_promo_required', self.gf('django.db.models.fields.CharField')(default='', max_length=1, null=True, blank=True)),
            ('date_submitted', self.gf('django.db.models.fields.DateField')(null=True, blank=True)),
            ('ref_id', self.gf('django.db.models.fields.CharField')(default='', max_length=50, null=True, blank=True)),
            ('programmer', self.gf('django.db.models.fields.CharField')(max_length=100, null=True, blank=True)),
            ('date_released', self.gf('django.db.models.fields.DateField')(null=True, blank=True)),
            ('code_dir', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
            ('prd_team', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['app_info.ProductionTeam'], null=True, blank=True)),
        ))
        db.send_create_signal(u'app_info', ['AppVersion'])

        # Adding M2M table for field sdk_required on 'AppVersion'
        m2m_table_name = db.shorten_name(u'app_info_appversion_sdk_required')
        db.create_table(m2m_table_name, (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('appversion', models.ForeignKey(orm[u'app_info.appversion'], null=False)),
            ('sdkversion', models.ForeignKey(orm[u'sdk_info.sdkversion'], null=False))
        ))
        db.create_unique(m2m_table_name, ['appversion_id', 'sdkversion_id'])

        # Adding model 'AppleID'
        db.create_table(u'app_info_appleid', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('request_id', self.gf('django.db.models.fields.CharField')(max_length=20)),
            ('app', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['app_info.App'], null=True, blank=True)),
            ('added_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
            ('create_time', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)),
            ('editor', self.gf('django.db.models.fields.CharField')(default='', max_length=50, null=True, blank=True)),
            ('status', self.gf('django.db.models.fields.CharField')(default='S', max_length=1)),
            ('itunes_id', self.gf('django.db.models.fields.CharField')(default='', max_length=20, null=True, blank=True)),
        ))
        db.send_create_signal(u'app_info', ['AppleID'])

        # Adding model 'FlurryKey'
        db.create_table(u'app_info_flurrykey', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('request_id', self.gf('django.db.models.fields.CharField')(max_length=20)),
            ('app', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['app_info.App'], null=True, blank=True)),
            ('added_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
            ('create_time', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)),
            ('editor', self.gf('django.db.models.fields.CharField')(default='', max_length=50, null=True, blank=True)),
            ('status', self.gf('django.db.models.fields.CharField')(default='S', max_length=1)),
            ('key', self.gf('django.db.models.fields.CharField')(default='', max_length=50, null=True, blank=True)),
        ))
        db.send_create_signal(u'app_info', ['FlurryKey'])

        # Adding model 'GAKey'
        db.create_table(u'app_info_gakey', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('request_id', self.gf('django.db.models.fields.CharField')(max_length=20)),
            ('app', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['app_info.App'], null=True, blank=True)),
            ('added_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
            ('create_time', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)),
            ('editor', self.gf('django.db.models.fields.CharField')(default='', max_length=50, null=True, blank=True)),
            ('status', self.gf('django.db.models.fields.CharField')(default='S', max_length=1)),
            ('key', self.gf('django.db.models.fields.CharField')(max_length=200, null=True, blank=True)),
        ))
        db.send_create_signal(u'app_info', ['GAKey'])


    def backwards(self, orm):
        # Deleting model 'StudioCloud'
        db.delete_table(u'app_info_studiocloud')

        # Deleting model 'Studio'
        db.delete_table(u'app_info_studio')

        # Deleting model 'App'
        db.delete_table(u'app_info_app')

        # Deleting model 'AppExtraInfo'
        db.delete_table(u'app_info_appextrainfo')

        # Deleting model 'UserGroup'
        db.delete_table(u'app_info_usergroup')

        # Removing M2M table for field studios on 'UserGroup'
        db.delete_table(db.shorten_name(u'app_info_usergroup_studios'))

        # Removing M2M table for field clouds on 'UserGroup'
        db.delete_table(db.shorten_name(u'app_info_usergroup_clouds'))

        # Deleting model 'ProductionTeam'
        db.delete_table(u'app_info_productionteam')

        # Removing M2M table for field user on 'ProductionTeam'
        db.delete_table(db.shorten_name(u'app_info_productionteam_user'))

        # Removing M2M table for field studios on 'ProductionTeam'
        db.delete_table(db.shorten_name(u'app_info_productionteam_studios'))

        # Deleting model 'AppVersion'
        db.delete_table(u'app_info_appversion')

        # Removing M2M table for field sdk_required on 'AppVersion'
        db.delete_table(db.shorten_name(u'app_info_appversion_sdk_required'))

        # Deleting model 'AppleID'
        db.delete_table(u'app_info_appleid')

        # Deleting model 'FlurryKey'
        db.delete_table(u'app_info_flurrykey')

        # Deleting model 'GAKey'
        db.delete_table(u'app_info_gakey')


    models = {
        u'app_info.app': {
            'Meta': {'ordering': "('status', '-prd_id')", 'object_name': 'App'},
            'app_id': ('core.fields.CustomCharField', ["u'Apple ID'"], {'default': "''", 'max_length': '20', 'widget': "'NoneType'", 'null': 'True', 'blank': 'True'}),
            'app_name': ('core.fields.CustomCharField', ["u'App Name (Production)'"], {'widget': "'TextInput'", 'max_length': '1000'}),
            'app_store': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
            'bundle_id_prefix': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'bundle_id_suffix': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'create_time': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
            'editor': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
            'flurry_key': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50', 'null': 'True', 'blank': 'True'}),
            'ga_key': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'notes': ('core.fields.CustomTextField', ["u'Notes'"], {'default': "''", 'widget': "'MediaDefiningClass'", 'null': 'True', 'blank': 'True'}),
            'old_prj_code': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50', 'null': 'True', 'blank': 'True'}),
            'platform': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'prd_id': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '10'}),
            'prj_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '50'}),
            'pub_key': ('core.fields.CustomTextField', ["'Public Key'"], {'default': "''", 'widget': "'CustomTextarea'", 'null': 'True', 'blank': 'True'}),
            'pub_name': ('core.fields.CustomCharField', ["u'App Name (Publish)'"], {'default': "''", 'max_length': '1000', 'widget': "'TextInput'", 'null': 'True', 'blank': 'True'}),
            'status': ('core.fields.CustomCharField', ["u'Validation'"], {'default': "'P'", 'widget': "'Select'", 'max_length': '1'}),
            'store_link': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'studio': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['app_info.Studio']"}),
            'valid_person': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50', 'null': 'True', 'blank': 'True'}),
            'valid_time': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'})
        },
        u'app_info.appextrainfo': {
            'Meta': {'object_name': 'AppExtraInfo'},
            'app': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['app_info.App']", 'unique': 'True', 'null': 'True', 'blank': 'True'}),
            'display_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'flurry_key': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'media_local': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '1000', 'null': 'True', 'blank': 'True'}),
            'media_remote': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '1000', 'null': 'True', 'blank': 'True'}),
            'special': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'})
        },
        u'app_info.appleid': {
            'Meta': {'ordering': "('-status',)", 'object_name': 'AppleID'},
            'added_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
            'app': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['app_info.App']", 'null': 'True', 'blank': 'True'}),
            'create_time': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
            'editor': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'itunes_id': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '20', 'null': 'True', 'blank': 'True'}),
            'request_id': ('django.db.models.fields.CharField', [], {'max_length': '20'}),
            'status': ('django.db.models.fields.CharField', [], {'default': "'S'", 'max_length': '1'})
        },
        u'app_info.appversion': {
            'Meta': {'object_name': 'AppVersion'},
            'ads_required': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '1', 'null': 'True', 'blank': 'True'}),
            'app': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['app_info.App']"}),
            'change_list': ('django.db.models.fields.TextField', [], {'default': "''", 'null': 'True', 'blank': 'True'}),
            'code': ('django.db.models.fields.CharField', [], {'default': "'1.0'", 'max_length': '11'}),
            'code_dir': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            'create_time': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
            'cross_promo_required': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '1', 'null': 'True', 'blank': 'True'}),
            'date_released': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
            'date_submitted': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
            'editor': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'iap_required': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '1', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'log_id': ('django.db.models.fields.CharField', [], {'max_length': '20'}),
            'owner': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
            'prd_team': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['app_info.ProductionTeam']", 'null': 'True', 'blank': 'True'}),
            'product_owner': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
            'programmer': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
            'purpose': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100', 'null': 'True', 'blank': 'True'}),
            'ref_id': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50', 'null': 'True', 'blank': 'True'}),
            'sdk_required': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sdk_info.SDKVersion']", 'null': 'True', 'blank': 'True'}),
            'status': ('django.db.models.fields.CharField', [], {'default': "'I'", 'max_length': '1'}),
            'type': ('core.fields.CustomCharField', ["u'Production Type'"], {'default': "'U'", 'widget': "'Select'", 'max_length': '1'})
        },
        u'app_info.flurrykey': {
            'Meta': {'ordering': "('-status',)", 'object_name': 'FlurryKey'},
            'added_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
            'app': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['app_info.App']", 'null': 'True', 'blank': 'True'}),
            'create_time': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
            'editor': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'key': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50', 'null': 'True', 'blank': 'True'}),
            'request_id': ('django.db.models.fields.CharField', [], {'max_length': '20'}),
            'status': ('django.db.models.fields.CharField', [], {'default': "'S'", 'max_length': '1'})
        },
        u'app_info.gakey': {
            'Meta': {'ordering': "('-status',)", 'object_name': 'GAKey'},
            'added_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
            'app': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['app_info.App']", 'null': 'True', 'blank': 'True'}),
            'create_time': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
            'editor': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'key': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'request_id': ('django.db.models.fields.CharField', [], {'max_length': '20'}),
            'status': ('django.db.models.fields.CharField', [], {'default': "'S'", 'max_length': '1'})
        },
        u'app_info.productionteam': {
            'Meta': {'ordering': "('name',)", 'object_name': 'ProductionTeam'},
            'group': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['app_info.UserGroup']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
            'studios': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['app_info.Studio']", 'null': 'True', 'blank': 'True'}),
            'user': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'teams'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['auth.User']"})
        },
        u'app_info.studio': {
            'Meta': {'ordering': "('custom_id', 'pub_name')", 'object_name': 'Studio'},
            'alt_domain': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
            'amz_code_format': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100', 'null': 'True', 'blank': 'True'}),
            'app_store_id': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '20', 'null': 'True', 'blank': 'True'}),
            'available_store': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'bundle_id': ('django.db.models.fields.TextField', [], {'default': "''", 'null': 'True', 'blank': 'True'}),
            'cloud': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['app_info.StudioCloud']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
            'code': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '10', 'null': 'True', 'blank': 'True'}),
            'copy_right': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
            'custom_id': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100', 'null': 'True', 'blank': 'True'}),
            'gp_code_format': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'ios_code_format': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100', 'null': 'True', 'blank': 'True'}),
            'main_domain': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
            'prd_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
            'pub_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
            'service_site': ('django.db.models.fields.URLField', [], {'default': "''", 'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'studio_code': ('django.db.models.fields.CharField', [], {'max_length': '5', 'null': 'True', 'blank': 'True'}),
            'website': ('django.db.models.fields.URLField', [], {'default': "''", 'max_length': '200', 'null': 'True', 'blank': 'True'})
        },
        u'app_info.studiocloud': {
            'Meta': {'ordering': "('cloud_id',)", 'object_name': 'StudioCloud'},
            'cloud_id': ('django.db.models.fields.CharField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
            'cloud_purpose': ('django.db.models.fields.CharField', [], {'max_length': '2000', 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'parent_brand': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'})
        },
        u'app_info.usergroup': {
            'Meta': {'object_name': 'UserGroup'},
            'clouds': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['app_info.StudioCloud']", 'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
            'owner': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'pm'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': u"orm['auth.User']"}),
            'studios': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['app_info.Studio']", 'null': 'True', 'blank': 'True'})
        },
        u'auth.group': {
            'Meta': {'object_name': 'Group'},
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
            'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
        },
        u'auth.permission': {
            'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'},
            'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
        },
        u'auth.user': {
            'Meta': {'object_name': 'User'},
            'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
            'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
            'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
            'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
            'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
        },
        u'contenttypes.contenttype': {
            'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
            'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
        },
        u'sdk_info.sdkinfo': {
            'Meta': {'ordering': "('status',)", 'object_name': 'SDKInfo'},
            'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
            'desc': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'platform': ('django.db.models.fields.CharField', [], {'default': "'I'", 'max_length': '1'}),
            'status': ('django.db.models.fields.CharField', [], {'default': "'D'", 'max_length': '1'}),
            'title': ('django.db.models.fields.CharField', [], {'max_length': '200'})
        },
        u'sdk_info.sdkversion': {
            'Meta': {'ordering': "('sdk_info', '-created_at')", 'object_name': 'SDKVersion'},
            'code': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
            'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
            'desc': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'sdk_info': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['sdk_info.SDKInfo']"}),
            'status': ('django.db.models.fields.CharField', [], {'default': "'D'", 'max_length': '1'})
        }
    }

    complete_apps = ['app_info']